import * as Koa from 'koa';
import { route, RouteOptionsVerify } from "../../common";
class PageController {
    @route(new RouteOptionsVerify('GET', '/api/page'))
    async queryPages(ctx: Koa.Context, next) {
        ctx.response.body = null;
        await next();
    }
    @route(new RouteOptionsVerify('GET', '/api/page/:id'))
    async getPageInfoById(ctx: Koa.Context, next) {
        ctx.response.body = null;
        await next();
    }
    @route(new RouteOptionsVerify('POST', '/api/page'))
    async createPage(ctx: Koa.Context, next) {
        ctx.response.body = null;
        await next();
    }
    @route(new RouteOptionsVerify('PUT', '/api/page'))
    async updatePage(ctx: Koa.Context, next) {
        ctx.response.body = null;
        await next();
    }
    @route(new RouteOptionsVerify('DELETE', '/api/page'))
    async deletePage(ctx: Koa.Context, next) {
        ctx.response.body = null;
        await next();
    }
}